<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="glCargoList" checkbox="true" pagination="true" fitColumns="true" title="" sortName="id" actionUrl="glCargoController.do?datagrid&type=${type}" idField="id" fit="true" queryMode="group">
   <t:dgCol title="查找编号"  field="infoid" hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="系统编号"  field="sysid"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="单位名称"  field="fullname"  query="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="联系人"  field="contacter"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="联系电话"  field="mobile"  queryMode="single"  width="120"></t:dgCol>   
   <t:dgCol title="发货地"  field="transbeginplace"   queryMode="single"  width="120"></t:dgCol>   
   <t:dgCol title="卸车地"  field="transendplace"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="货物种类"  field="goodscat"   queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="数量"  field="tquantity"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="结算方式"  field="settledes" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="运价"  field="tprice"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="拉运起始日期"  field="transbegindate"  formatter="yyyy-MM-dd"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="拉运结束日期"  field="transenddate"  formatter="yyyy-MM-dd"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="备注"  field="ftmemo"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="申请人编号"  field="userid" hidden="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="申请时间"  field="reqtime"  hidden="true"  formatter="yyyy-MM-dd"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="信息来源"  field="infosource" hidden="true"  queryMode="single"  width="120" dictionary="REGSOURCE"></t:dgCol>
   <t:dgCol title="申请状态"  field="reqstate"  queryMode="single"  width="120" dictionary="STANDARDVERIFYSTATUS"></t:dgCol>
   <t:dgCol title="transportstate"  field="transportstate"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="id"  field="id"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="操作" field="opt" width="100"></t:dgCol>
   
    <t:dgDelOpt title="删除" url="glCargoController.do?doDel&id={id}" urlclass="ace_button"  urlfont="fa-trash-o"/>
  
    <t:dgToolBar title="查看" icon="icon-search" url="glCargoController.do?goUpdate" funname="detail" height="500"></t:dgToolBar>
   <%-- <t:dgToolBar title="导出" icon="icon-putout" funname="ExportXls"></t:dgToolBar> --%>
   <c:if test="${type=='shenpi'}">
    <t:dgToolBar title="审核" icon="icon-edit" url="glCargoController.do?goVerify" funname="verify" height="500"></t:dgToolBar>
   </c:if>
   
   
  </t:datagrid>
  </div>
 </div>
 <script type="text/javascript">
 $(document).ready(function(){
 });
 
   
 
//导入
function ImportXls() {
	openuploadwin('Excel导入', 'glCargoController.do?upload', "glCargoList");
}

//导出
function ExportXls() {
	JeecgExcelExport("glCargoController.do?exportXls","glCargoList");
}

//模板下载
function ExportXlsByT() {
	JeecgExcelExport("glCargoController.do?exportXlsByT","glCargoList");
}

 </script>
